package com.example.document.local

import com.example.document.R
import com.example.lib_adapter.BaseQuickAdapter
import com.example.lib_adapter.BaseViewHolder

class LocalAdapter:BaseQuickAdapter<LocalEntity,BaseViewHolder>(R.layout.item_local) {
    override fun convert(holder: BaseViewHolder, t: LocalEntity) {
        holder.apply {
            setText(R.id.local_name,t.name)
            setImage(R.id.local_img,R.drawable.ic_launcher_background)
        }
    }
}